import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
  {
    title: '父分类ID（一级分类为空）',
    align: "center",
    dataIndex: 'parentId'
  },
  {
    title: '分类名称（如"前端开发"）',
    align: "center",
    dataIndex: 'name'
  },
  {
    title: '排序权重（数值越大越靠前，默认0）',
    align: "center",
    dataIndex: 'sortOrder'
  },
];

// 高级查询数据
export const superQuerySchema = {
  parentId: {title: '父分类ID（一级分类为空）',order: 0,view: 'text', type: 'string',},
  name: {title: '分类名称（如"前端开发"）',order: 1,view: 'text', type: 'string',},
  sortOrder: {title: '排序权重（数值越大越靠前，默认0）',order: 2,view: 'number', type: 'number',},
};
